package testbserviceprovider.service;


import com.hzh.api.dto.BDto;
import com.hzh.api.service.BService;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService
public class BServiceImpl implements BService {

    @Override
    public String testB(BDto bDto) {
        return "this is testBService, input is " + bDto.getName();
    }

    @Override
    public String testException() {
        throw new RuntimeException("testException");
    }
}
